package com.exam.service;

import com.exam.entity.Examination;

import java.util.List;
import java.util.Map;

public interface ExaminationService {

	//查询所有考试
	List<Map<String, Object>> getAllExaminations();

	//新增一场考试信息,这里包含了一张图片上传
	int addExamination(Examination examination);

	//删除一场考试
	int delExamination(int eid);

	//修改考试信息
	int editExamination(Examination examination);

	//分页查询考试信息
	List<Map<String, Object>> getExaminationsByPage(String pageNum,String pageSize);

	//总条数
	int getCountByExamination();

	//模糊查询 考试  通过考试名称及学生学号
	List<Map<String, Object>> getExaminationByName(String ename);

	//批量导入考试信息
	int doImportExam(List<Examination> examinations);

}	
